#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"
void HeapTest1()
{
	Heap hp;
	HeapInit(&hp);
	int arr[] = { 65,100,70,32,50,60 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	for (int i = 0; i < sz; i++)
	{
		HeapPush(&hp, arr[i]);
	}
	while (!HeapEmpty(&hp))
	{
		printf("%d ", Heaptop(&hp));
		HeapPop(&hp);
	}
	HeapDestroy(&hp);
}
void HeapSort(int* a, int n)
{
	assert(a);
	for(int i=)
}
int main()
{
	int a[] = { 3,1,7,9,4,6,0 };
	HeapTest1();
	HeapSort(a, sizeof(a) / sizeof(a[0]));
	return 0;
}